package com.md.rps.action.actions;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;


@Controller
public class TemplatesController {
    @GetMapping("/templates")
    public String test(Model model) {
        //逻辑处理
        model.addAttribute("key", "hello world");
        return "result";
    }
}
